package com.js.admin.service;

import com.js.admin.entity.BaseMenu;
import com.js.common.service.BaseService;

import java.util.List;

/**
 * @author ygl
 * @create 2018-10-31
 * @DESCRIPTION
 *  系统菜单接口
 **/
public interface BaseMenuService extends BaseService<BaseMenu> {

    /**
     * 获取用户拥有的菜单权限
     * @param userId
     * @param clientId
     * @return
     */
    List<BaseMenu> getUserAuthorityMenuByUserId(String userId, String clientId);
}
